package views.homme;

import java.awt.BorderLayout;

import main.NotInitializedException;
import views.others.AbstractView;
import controllers.OngletEffectifsController;


public class OngletEffectifsView extends AbstractView
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private EmployesView panelEmployes;

	public OngletEffectifsView(OngletEffectifsController controller) throws NotInitializedException
	{
		super(controller);
		
		this.setLayout(new BorderLayout(0, 0));	
		
		panelEmployes = new EmployesView(controller);
		add(panelEmployes, BorderLayout.CENTER);
		
	}	
	
	public EmployesView getEmployesView() {
		return panelEmployes;
	}

	public OngletEffectifsController getController() {
		return (OngletEffectifsController)controller;
	}

	public void setController(OngletEffectifsController controller) {
		this.controller = controller;
	}
	
	public void refresh()
	{
		this.panelEmployes.refresh();
	}
}
